
public class PremioUsuario {
	public Pergunta pergunta;
	private int acertar;
	private int parar;
	private int errar;
	
	public int contePremio(Pergunta pergunta){
		
		switch(pergunta.getNumPergunta()){
			case 1:
				acertar=1000;
				parar=500;
				errar=0;
				break;
			case 2:
				acertar=10000;
				parar=1000;
				errar=250;
				break;
			case 3:
				acertar=100000;
				parar=10000;
				errar=2500;
				break;
			case 4:
				acertar=200000;
				parar=100000;
				errar=25000;
				break;
			case 5:
				acertar=400000;
				parar=200000;
				errar=50000;
				break;
			case 6:
				acertar=600000;
				parar=400000;
				errar=100000;
				break;
			case 7:
				acertar=700000;
				parar=600000;
				errar=200000;
				break;
			case 8:
				acertar=800000;
				parar=700000;
				errar=200000;
				break;
			case 9:
				acertar=900000;
				parar=800000;
				errar=200000;
				break;
			case 10:
				acertar=1000000;
				parar=900000;
				errar=0;
				break;
		}
		
		return 0;
	}

	public int getAcertar() {
		return acertar;
	}

	public void setAcertar(int acertar) {
		this.acertar = acertar;
	}

	public int getParar() {
		return parar;
	}

	public void setParar(int parar) {
		this.parar = parar;
	}

	public int getErrar() {
		return errar;
	}

	public void setErrar(int errar) {
		this.errar = errar;
	}
}
